// 首页相关路由
import Layout from '@/views/Layout/index.vue'
import ProList from '@/views/Product/list.vue'
import ProCreate from '@/views/Product/create.vue'
import CateList from '@/views/Product/Category/list.vue'
export default {
  path: '/product',
  component: Layout,
  redirect: '/product/list',
  meta: {
    title: '产品管理',
    icon: 'MacCommandFilled'
   
  },
  children: [
    {
      path: 'list',
      component: ProList,
      name: 'productList',
      meta: {
        title: '产品列表'
      }
    },
    {
      path: 'create',
      component: ProCreate,
      name: 'proCreate',
      meta: {
        title: '产品添加',
        // icon: 'BulbFilled'
      }
    },
    {
      path: 'category/list',
      component: CateList,
      name: 'aboutList',
      meta: {
        title: '分类管理'
      }
    }
  ]
}
